package com.shop.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AddMerchantVo {
    @NotEmpty(message = "商户名称不能为空！")
    @ApiModelProperty(value = "商户名称")
    private String name;

    @NotEmpty(message = "商户编码不能为空")
    @ApiModelProperty(value = "商户编码")
    private String merchantsNo;

    @NotEmpty(message = "商户级别不能为空")
    @ApiModelProperty(value = "商户级别")
    private String merchantsLevel;

    @NotNull(message = "总资金不能为空")
    @ApiModelProperty(value = "总资金")
    private BigDecimal money;

    @NotNull(message = "担保资金不能为空")
    @ApiModelProperty(value = "担保资金")
    private BigDecimal guarantee;

    private String descScore;
    private String serviceScore;
    private String logisticsScore;
}
